<?LassoScript

$isValid = 'No';


if: (var:'email_calc') == '' || ((var:'email_calc') != ''  &&  (valid_email: (var:'email_calc')) != 'true') ;
		$valError->(Insert: 'email_calc' = 'Enter a valid Email Address using this format: xxx@xxx.com' );
/if;


if: (var:'web_password') == '' ;
$valError->(Insert: 'web_password'= 'Password is required.');
/if;

if: (var:'web_password') != ''  && (String_IsAlphaNumeric: (var:'web_password')) != 'true' ;
$valError->(Insert: 'web_password'= 'Only alphabetic characters or numerals (a-z, A-Z, or 0-9) are allowed in your Password.');
/if;
 

if: $valError == (map);
$isValid = 'Yes';
/if;

?>